// obtain elapsed time in seconds from Timer 2 / 3 combination
// Use this in combination with (after) WriteTimer23(0) that resets the timer.
// In initialize() routine, open the timer with OpenTimer23(T2_ON | T2_SOURCE_INT, T23_PRESCALER);
#include "userLib.h"

extern UINT16 TimerTicksPerMicrosec;	// set in picInit(), used in timer funcs eg delayTx

double elapsedTime23()
{
	return( (double)ReadTimer23() / (double)TimerTicksPerMicrosec / (double)1000000 );
}
